<!DOCTYPE HTML>
<html>
<head>
    <title>数据集管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/page-min.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="../assets/js/bui.js"></script>
    <script type="text/javascript" src="../js/orderMgr.js"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <form id="searchForm" class="form-horizontal span24">
            <div class="row">
                <div class="control-group span8">
                    <label class="control-label">订单ID：</label>
                    <div class="controls">
                        <input type="text" class="control-text" name="orderId" data-rules="{required:false,sid:0}">
                    </div>
                </div>
                <div class="control-group span8">
                    <label class="control-label">店面名称：</label>
                    <div class="controls">
                        <input type="text" class="control-text" name="techName"  data-rules="{required:false,sid:0}">
                    </div>
                </div>
                <div class="control-group span8">
                    <label class="control-label">创建开始时间：</label>
                    <div class="controls">
                        <input type="text" class="calendar" name="startCreateTime"/>
                    </div>
                </div>
                <div class="control-group span8">
                    <label class="control-label">创建结束时间：</label>
                    <div class="controls">
                        <input type="text" class="calendar" name="endCreateTime"/>
                    </div>
                </div>
                <div id="searchBtn" class="control-group" style="float: left;padding-right: 20px;"></div>
                <div id="addBtn" class="control-group" style="float: left;padding-right: 20px;"></div>
                <div id="deleteBtn" class="control-group"></div>
            </div>
        </form>
    </div>
    <div class="span18" style="text-align:center;margin: 0 auto;float: none;width: 100%">
        <div id="grid"></div>
    </div>
</div>
<!-- 初始隐藏 dialog内容 -->
<div id="content" class="hide">
    <form id="J_Form" class="form-horizontal">
        <div class="control-group">
            <label class="control-label"><s>*</s>数据集名称：</label>

            <div class="controls">
                <label>
                    <input name="host" type="text" class="input-large" data-rules="{required : true}"
                           data-messages="{required:'数据集名称不能为空'}">
                </label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>模型：</label>
            <div class="controls" id="modelDiv">
                <input type="hidden" id="model" name="model">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>数据源：</label>
            <div class="controls" id="dsDiv">
                <input type="hidden" id="dsId" name="dsId">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>历史数据源:</label>
            <div class="controls" id="hisDsDiv">
                <input type="hidden" id="hisDsId" name="hisDsId">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>文件系统数据源:</label>
            <div class="controls" id="fsDiv">
                <input type="hidden" id="fsId" name="hisDsId">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>数据集类型：</label>
            <div class="controls">
                <label>
                    <select name="datasetType">
                        <option value="1">表数据集</option>
                        <option value="2">文件数据集</option>
                    </select>
                </label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="fieldName">字段名称：</label>
            <input type="text"  id="fieldName">
            <label for="fieldType">数据类型：</label>
            <select id="fieldType">
                <option value="1">String</option>
                <option value="2">Long</option>
                <option value="3">Double</option>
            </select>
            <button id="addField" class="button button-success">添加字段</button>
        </div>
        <div class="control-group">
            <label class="control-label" for="fields">所有字段：</label>
            <textarea id="fields" rows="5" cols="10000" readonly="readonly"></textarea>
        </div>
    </form>
</div>
</div>
</body>
</html>  